package com.czmh.etc.onlinepubsys.request.cmg;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Copyright (C), 2017-2021
 *
 * @Author: Chenzj
 * Date: 2022/3/1 09:35
 * FileName: BindCardObuRequest
 * Description:
 */
@ApiModel("招商局-卡签发行绑定-对接请求对象")
@Data
public class BindCardObuRequest {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    @JSONField(serialize = false)
    private String userId; //用户ID

    @ApiModelProperty("订单id")
    @JSONField(serialize = false)
    private String orderId; //订单id

    @ApiModelProperty(notes = "时间戳", hidden = true)
    private Long time;

    @ApiModelProperty(notes = "客户端唯一码，accessNo+随机编", hidden = true)
    private String clientKey;

    @ApiModelProperty(notes = "16位合同序列号", required = true)
    private String serialNumber;

    @ApiModelProperty(notes = "卡片版本号 需转成10进制", required = true)
    private Integer cardVersion;

    @ApiModelProperty(notes = "合同类型", required = true)
    private Integer contractType;

    @ApiModelProperty(notes = "合同版本", required = true)
    private Integer contractVersion;

    @ApiModelProperty(notes = "卡表面号,不带网络编号的16位表面号", required = true)
    private String faceCardNum;

    @ApiModelProperty(notes = "OBU编号", required = true)
    private String obuId;

    @ApiModelProperty(notes = "物理卡号,8位16进制（字母大写），如没有填写8个F", required = true)
    private String phyCardNum;

    @ApiModelProperty(notes = "服务供应", required = true)
    private String supplier;

    @ApiModelProperty(notes = "车牌号码", required = true)
    private String vehiclePlate;

    @ApiModelProperty(notes = "车牌颜色", required = true)
    private String vehiclePlateColor;
}
